<?php $this->load->view('user/view_user_mypages_menu')?>

<div id="UserInformation">
<div id="InputForm">
<?php echo $online   ?>





	<?php echo form_open('user/userinformation/checkIfInfoChanged');?>
	<ul>
		<li>
			<label><?php echo $label   ?></label>
			
		</li>
		<li>
			<label>Förnamn:</label>
			<div>
				<?php $fname = $userInformation->Fnamn; ?>
				<?php echo form_input(array('id'=>'fname','name'=>'fname', 'value'=>$fname)); ?>
			</div>
		</li>
		
		<li>
			<label>Efternamn:</label>
			<div>
				<?php $lname = $userInformation->Enamn; ?>
				<?php echo form_input(array('id'=>'lname','name'=>'lname', 'value'=>$lname)); ?>
			</div>
		</li>
		
		<li>
			<label>Personnummer:</label>
			<div>
				<?php $pnum = $userInformation->Personnummer; ?>
				<?php echo form_input(array('id'=>'pnum','name'=>'pnum', 'value'=>$pnum)); ?>
			</div>
		</li>
		
		<li>
			<label>Adress:</label>
			<div>
				<?php $adress = $userInformation->Adress; ?>
				<?php echo form_input(array('id'=>'adress','name'=>'adress', 'value'=>$adress)); ?>
			</div>
		</li>
		
		<li>
			<label>Telefon nummer:</label>
			<div>
				<?php $telNumber = $userInformation->TelNummer; ?>
				<?php echo form_input(array('id'=>'telNumber','name'=>'telNumber', 'value'=>$telNumber)); ?>
			</div>
		</li>
		
		<li>
			<label>Email:</label>
			<div>
				<?php $email = $userInformation->Email; ?>
				<?php echo form_input(array('id'=>'email','name'=>'email', 'value'=>$email)); ?>
			</div>
		</li>
		
		
		<li>
			<label>Spara om du har ändrat din kontaktinformation</label>
			<?php echo form_submit(array('id'=>'save'),'Spara'); ?>
		</li>
	</ul>



	

</div>
</div>